package bean;


import java.math.BigDecimal;

public class Movie {
    private int id;
    private String name;
    private long totalTime;
    private String main_actor;
    private String img;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    private String video;
    private BigDecimal price;
    private String type;
    private  String detail;
    private String date;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(long totalTime) {
        this.totalTime = totalTime;
    }

    public String getMain_actor() {
        return main_actor;
    }

    public void setMain_actor(String main_actor) {
        this.main_actor = main_actor;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setdetail(String detail){
        this.detail = detail;
    }
    public String getdetail(){
        return detail;
    }
    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", totalTime=" + totalTime +
                ", main_actor='" + main_actor + '\'' +
                ", img='" + img + '\'' +
                ", video='" + video + '\'' +
                ", price=" + price +
                ", type='" + type + '\'' +
                ", detail='" + detail + '\'' +
                ", date='" + date + '\'' +
                '}';
    }

}
